package com.czn.shopdemo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czn.shopdemo.model.Cart;
import com.czn.shopdemo.model.Goods;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Zenan Chen
 * @date 2023/4/4 14:56
 */
public interface CartService extends IService<Cart> {
    void addToCart(Cart cart, HttpServletRequest request);

    Page<Cart> getCartGoodsList(Integer pageNo, Integer pageSize,HttpServletRequest request);

    void deleteCartGoods(String cartId);

    Cart getCartGoodsDetail(String uuid);
}
